package com.example.mywike.user.mapper;

import com.example.mywike.user.entity.MenuEntity;
import com.example.mywike.user.entity.RoleEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

/**
 * @Author xiyanqiulvgui
 * @Date 2020/9/13 23:23
 * @Description 菜单处理数据层
 * @Version 1.0.0
 */
@Mapper
public interface MenuMapper {

    Set<MenuEntity> findMenuByRoles(@Param("roles") Set<RoleEntity> roles);
}
